﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace DTO
{
	[DataContract]
	public class TblBpbk {
		public const String c_MaBill = "MaBill";
		private Int32 m_MaBill = 0;
		[Key]
		[DataMember]
		public Int32  MaBill { 
			 get {return m_MaBill;} 
			 set { m_MaBill = value; } 
		}

		public const String c_MaLoaiBpbk = "MaLoaiBpbk";
		private Int32 m_MaLoaiBpbk = 0;
		[DataMember]
		public Int32  MaLoaiBpbk { 
			 get {return m_MaLoaiBpbk;} 
			 set { m_MaLoaiBpbk = value; } 
		}

		public const String c_TenBpbk = "TenBpbk";
		private String m_TenBpbk = "";
		[DataMember]
		public String  TenBpbk { 
			 get {return m_TenBpbk;} 
			 set { m_TenBpbk = value; } 
		}

		public const String c_MaTrangThai = "MaTrangThai";
		private Int32 m_MaTrangThai = 0;
		[DataMember]
		public Int32  MaTrangThai { 
			 get {return m_MaTrangThai;} 
			 set { m_MaTrangThai = value; } 
		}

		public const String c_MaKhachHang = "MaKhachHang";
		private Int32 m_MaKhachHang = 0;
		[DataMember]
		public Int32  MaKhachHang { 
			 get {return m_MaKhachHang;} 
			 set { m_MaKhachHang = value; } 
		}

		public const String c_MaDonVi = "MaDonVi";
		private Int32 m_MaDonVi = 0;
		[DataMember]
		public Int32  MaDonVi { 
			 get {return m_MaDonVi;} 
			 set { m_MaDonVi = value; } 
		}

		public const String c_DaXoa = "DaXoa";
		private Boolean m_DaXoa = false;
		[DataMember]
		public Boolean  DaXoa { 
			 get {return m_DaXoa;} 
			 set { m_DaXoa = value; } 
		}

		public const String c_TrongLuong = "TrongLuong";
		private Double m_TrongLuong;
		[DataMember]
		public Double  TrongLuong { 
			 get {return m_TrongLuong;} 
			 set { m_TrongLuong = value; } 
		}

		public const String c_NgayGoi = "NgayGoi";
		private DateTime m_NgayGoi = DateTime.Now;
		[DataMember]
		public DateTime  NgayGoi { 
			 get {return m_NgayGoi;} 
			 set { m_NgayGoi = value; } 
		}

		public const String c_MaNguoiDung = "MaNguoiDung";
		private Int32 m_MaNguoiDung = 0;
		[DataMember]
		public Int32  MaNguoiDung { 
			 get {return m_MaNguoiDung;} 
			 set { m_MaNguoiDung = value; } 
		}

		public const String c_DonGia = "DonGia";
		private Double m_DonGia;
		[DataMember]
		public Double  DonGia { 
			 get {return m_DonGia;} 
			 set { m_DonGia = value; } 
		}

		public const String c_ThanhTien = "ThanhTien";
		private Double m_ThanhTien;
		[DataMember]
		public Double  ThanhTien { 
			 get {return m_ThanhTien;} 
			 set { m_ThanhTien = value; } 
		}

        public const String c_TenDonVi = "TenDonVi";
        private String m_TenDonVi = "";
        [DataMember]
        public String TenDonVi
        {
            get { return m_TenDonVi; }
            set { m_TenDonVi = value; }
        }
        public const String c_TenKhachHang = "TenKhachHang";
        private String m_TenKhachHang = "";
        [DataMember]
        public String TenKhachHang
        {
            get { return m_TenKhachHang; }
            set { m_TenKhachHang = value; }
        }
        public const String c_TenLoaiBpbk = "TenLoaiBpbk";
        private String m_TenLoaiBpbk = "";
        [DataMember]
        public String TenLoaiBpbk
        {
            get { return m_TenLoaiBpbk; }
            set { m_TenLoaiBpbk = value; }
        }
        public const String c_TenTrangThai = "TenTrangThai";
        private String m_TenTrangThai = "";
        [DataMember]
        public String TenTrangThai
        {
            get { return m_TenTrangThai; }
            set { m_TenTrangThai = value; }
        }
        public const String c_TuDonVi = "TuDonVi";
        private String m_TuDonVi = "";
        [DataMember]
        public String TuDonVi
        {
            get { return m_TuDonVi; }
            set { m_TuDonVi = value; }
        }
		public const String b_TblBpbk = "TblBpbk";

	}

 }
